home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / editor / editor2 / hsc.lha / hsc / src_docs / Makefile.bak < prev    next >
Makefile  |  1996-11-17  |  6KB  |  197 lines

  1. #
  2. # Makefile for hsc-documentation
  3. #
  4.  
  5. #
  6. # DESTDIR  - destination directory (relative)
  7. # IGNORE   - messages to be ignored
  8. # PRJFILE  - project file
  9. # STDINC   - standard includes for all sources
  10. # HSCMISC  - miscellaneous flags and options
  11. # HSC      - shell command that invokes hsc
  12. # HSCFLAGS - hsc options
  13. #
  14. # HSCDEPP  - shell command to invoke hscdepp
  15. # HSCPITT  - shell command to invoke hscpitt
  16. #
  17.  
  18. PARENT    = ../
  19. #PARENT    = /
  20. DESTDIR = $(PARENT)docs/
  21. IGNORE  =ign=46
  22. PRJFILE =hsc.project
  23. STDINC  =inc/macro.hsc inc/webpage.hsc
  24. HSCMISC    =rplcent getsize compact mode=pedantic prefsfile=$(PARENT)hsc.prefs #quotemode=double
  25.  
  26. HSC     =$(PARENT)hsc
  27. HSCFLAGS=$(HSCMISC) $(IGNORE) prjfile=$(PRJFILE) to=$(DESTDIR) $(STDINC) \
  28.         msgansi status=quiet
  29.  
  30. HSCDEPP = $(PARENT)hscdepp
  31. HSCPITT = $(PARENT)hscpitt
  32.  
  33. .PHONY: all all_hsc
  34.  
  35. #
  36. # rule to update whole docs
  37. #
  38. all : all_hsc /index.html
  39.  
  40. #
  41. # implicit rule for html-files
  42. #
  43. $(DESTDIR)%.html : %.hsc
  44.     @echo $@
  45.     @$(HSC) $(HSCFLAGS) $< 
  46.  
  47. #
  48. # update dependencies
  49. #
  50. depend :
  51.     $(HSCDEPP) file=Makefile prjfile=$(PRJFILE) verbose
  52.  
  53. #
  54. # add new file / change includes of existing file
  55. #
  56. # example: make NEW FILE=new.hsc "INCLUDE=inc/macro.hsc inc/sepp.hsc"
  57. #
  58. NEW :
  59. ifndef FILE
  60.     @echo *** pleaese specify variable FILE (and on your option INCLUDE)
  61. else
  62.     $(HSC) $(HSCFLAGS) $(INCLUDE) from=$(FILE) 
  63. endif
  64.  
  65.  
  66. #
  67. # main page
  68. #
  69. $(PARENT)index.html : main_index.hsc
  70.     $(HSC) to=$@ $(HSCMISC) $<
  71.  
  72. # --- DO NOT MODIFY THIS LINE -- hsc-dependencies follow ---
  73.  
  74. # dependencies updated: Sunday 17-Nov-1996 02:43:11
  75.  
  76. all_hsc : ../docs/features/spctags.html ../docs/features/exec.html \
  77.     ../docs/updates.html ../docs/features/expressions.html \
  78.     ../docs/future.html ../docs/features/syntax.html \
  79.     ../docs/macro/attrib.html ../docs/macro/flag.html \
  80.     ../docs/macro/macros.html ../docs/bugs.html \
  81.     ../docs/project/prjfile.html ../docs/project/makefile.html \
  82.     ../docs/project/make.html ../docs/about.html ../docs/copy.html \
  83.     ../docs/examples.html ../docs/require.html ../docs/source.html \
  84.     ../docs/features/absuris.html ../docs/features/checkuri.html \
  85.     ../docs/features/if.html ../docs/features/prefs.html \
  86.     ../docs/features/rplcent.html ../docs/distrib.html ../docs/related.html \
  87.     ../docs/features/strip.html ../docs/options.html \
  88.     ../docs/features/spcattr.html ../docs/features/getsize.html \
  89.     ../docs/questions.html ../docs/project/index.html \
  90.     ../docs/project/hscpitt.html ../docs/project/hscdepp.html \
  91.     ../docs/fileargs.html ../docs/ports.html ../docs/install.html \
  92.     ../docs/envvar.html ../docs/index.html ../docs/messages.html \
  93.     ../docs/author.html ../docs/concepts.html
  94.  
  95. ../docs/features/spctags.html : features/spctags.hsc inc/macro.hsc \
  96.     inc/webpage.hsc
  97.  
  98. ../docs/features/exec.html : features/exec.hsc inc/macro.hsc \
  99.     inc/webpage.hsc exmpl/exec.hsc exmpl/exec.hsc
  100.  
  101. ../docs/updates.html : updates.hsc inc/macro.hsc inc/webpage.hsc
  102.  
  103. ../docs/features/expressions.html : features/expressions.hsc inc/macro.hsc \
  104.     inc/webpage.hsc
  105.  
  106. ../docs/future.html : future.hsc inc/macro.hsc inc/webpage.hsc
  107.  
  108. ../docs/features/syntax.html : features/syntax.hsc inc/macro.hsc \
  109.     inc/webpage.hsc
  110.  
  111. ../docs/macro/attrib.html : macro/attrib.hsc inc/macro.hsc inc/webpage.hsc
  112.  
  113. ../docs/macro/flag.html : macro/flag.hsc inc/macro.hsc inc/webpage.hsc
  114.  
  115. ../docs/macro/macros.html : macro/macros.hsc inc/macro.hsc inc/webpage.hsc \
  116.     exmpl/m_addr.hsc exmpl/m_addr.hsc exmpl/m_file.hsc exmpl/m_next.hsc \
  117.     exmpl/m_next.hsc
  118.  
  119. ../docs/bugs.html : bugs.hsc inc/macro.hsc inc/webpage.hsc
  120.  
  121. ../docs/project/prjfile.html : project/prjfile.hsc inc/macro.hsc \
  122.     inc/webpage.hsc
  123.  
  124. ../docs/project/makefile.html : project/makefile.hsc inc/macro.hsc \
  125.     inc/webpage.hsc
  126.  
  127. ../docs/project/make.html : project/make.hsc inc/macro.hsc inc/webpage.hsc
  128.  
  129. ../docs/about.html : about.hsc inc/macro.hsc inc/webpage.hsc
  130.  
  131. ../docs/copy.html : copy.hsc inc/macro.hsc inc/webpage.hsc
  132.  
  133. ../docs/examples.html : examples.hsc inc/macro.hsc inc/webpage.hsc
  134.  
  135. ../docs/require.html : require.hsc inc/macro.hsc inc/webpage.hsc
  136.  
  137. ../docs/source.html : source.hsc inc/macro.hsc inc/webpage.hsc
  138.  
  139. ../docs/features/absuris.html : features/absuris.hsc inc/macro.hsc \
  140.     inc/webpage.hsc
  141.  
  142. ../docs/features/checkuri.html : features/checkuri.hsc inc/macro.hsc \
  143.     inc/webpage.hsc
  144.  
  145. ../docs/features/if.html : features/if.hsc inc/macro.hsc inc/webpage.hsc
  146.  
  147. ../docs/features/prefs.html : features/prefs.hsc inc/macro.hsc \
  148.     inc/webpage.hsc
  149.  
  150. ../docs/features/rplcent.html : features/rplcent.hsc inc/macro.hsc \
  151.     inc/webpage.hsc
  152.  
  153. ../docs/distrib.html : distrib.hsc inc/macro.hsc inc/webpage.hsc
  154.  
  155. ../docs/related.html : related.hsc inc/macro.hsc inc/webpage.hsc
  156.  
  157. ../docs/features/strip.html : features/strip.hsc inc/macro.hsc \
  158.     inc/webpage.hsc
  159.  
  160. ../docs/options.html : options.hsc inc/macro.hsc inc/webpage.hsc
  161.  
  162. ../docs/features/spcattr.html : features/spcattr.hsc inc/macro.hsc \
  163.     inc/webpage.hsc exmpl/anchor.hsc exmpl/anchor.hsc
  164.  
  165. ../docs/features/getsize.html : features/getsize.hsc inc/macro.hsc \
  166.     inc/webpage.hsc
  167.  
  168. ../docs/questions.html : questions.hsc inc/macro.hsc inc/webpage.hsc
  169.  
  170. ../docs/project/index.html : project/index.hsc inc/macro.hsc \
  171.     inc/webpage.hsc
  172.  
  173. ../docs/project/hscpitt.html : project/hscpitt.hsc inc/macro.hsc \
  174.     inc/webpage.hsc
  175.  
  176. ../docs/project/hscdepp.html : project/hscdepp.hsc inc/macro.hsc \
  177.     inc/webpage.hsc
  178.  
  179. ../docs/fileargs.html : fileargs.hsc inc/macro.hsc inc/webpage.hsc
  180.  
  181. ../docs/ports.html : ports.hsc inc/macro.hsc inc/webpage.hsc
  182.  
  183. ../docs/install.html : install.hsc inc/macro.hsc inc/webpage.hsc
  184.  
  185. ../docs/envvar.html : envvar.hsc inc/macro.hsc inc/webpage.hsc
  186.  
  187. ../docs/index.html : index.hsc inc/macro.hsc inc/webpage.hsc
  188.  
  189. ../docs/messages.html : messages.hsc inc/macro.hsc inc/webpage.hsc
  190.  
  191. ../docs/author.html : author.hsc inc/macro.hsc inc/webpage.hsc
  192.  
  193. ../docs/concepts.html : concepts.hsc inc/macro.hsc inc/webpage.hsc
  194.  
  195. # --- DO NOT MODIFY THIS LINE -- hsc-dependencies precede ---
  196.